HAL ICACHE memory remapped regions functions migration ¶
This section provides information about the HAL ICACHE Memory remapped regions functions migration.
Note
We have introduced a handle in HAL2, so for the following ICACHE HAL2 functions, each function will have a handle inside the parameters.
Related concept: Other HAL ICACHE changes
HAL ICACHE enable remap region ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_ICACHE_EnableRemapRegion(uint32_t Region,
const ICACHE_RegionConfigTypeDef *const pRegionConfig);
|
hal_status_t HAL_ICACHE_EnableRemapRegion(hal_icache_handle_t *hicache,
hal_icache_region_t region);
|
- Related use cases:
HAL ICACHE disable remap region ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_ICACHE_DisableRemapRegion(uint32_t Region);
|
hal_status_t HAL_ICACHE_DisableRemapRegion(hal_icache_handle_t *hicache,
hal_icache_region_t region);
|